import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const kaifang: AppRouteRecordRaw = {
  path: '/kaifang',
  name: 'kaifang',
  component: DEFAULT_LAYOUT,
  meta: {
    locale: '开放文档',
    requiresAuth: true,
    icon: 'icon-launch',
    order: 9,
  },
  children: [
    {
      path: 'kaifangList',
      name: 'kaifangList',
      component: () => import('@/views/kaifang/kaifangList.vue'),
      meta: {
        locale: '开放文档',
        icon: 'icon-list',
        requiresAuth: true,
        roles: ['*'],
      },
    }
  ],
};

export default kaifang;
